const qs = require('querystring')
const URL = require('url')
const myUrl = "http://www.nodejs.org:9090/some/url/?with=query&param=that&are=awesome#alsoahash"

const parseUrl = URL.parse(myUrl)

const obj = qs.parse(parseUrl.query)
console.log(obj)
